x = 1
while x < 10:
    y = 1
    while y <= x:
        print(f"{y} * {x} = {y * x}\t", end='')
        y += 1
    x += 1
    print("")
